<!--
 @author: zhangxt
 @date: 2024/4/13
 @description: 图片编辑器页面
-->
<template>
  <div class="editor-container">
    <image-editor></image-editor>
  </div>
</template>

<script>
import ImageEditor from '@/components/ImageEditor.vue'

export default {
  name: 'index',
  components: { ImageEditor },
  data() {
    return {
      title: '图片编辑器'
    }
  },
  mounted() {
    this.init()
  },
  methods: {
    // 页面初始化
    init() {
      console.log(this.title)
    }
  }
}
</script>

<style scoped lang="scss">
.editor-container {
  width: 60%;
  margin: 60px auto 0;
}
</style>
